.class Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$3;
.super Landroid/content/BroadcastReceiver;
.source "FragmentGpsSettings.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;)V
    .locals 0

    .line 131
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 1

    .line 135
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    const-string v0, "android.bluetooth.device.action.FOUND"

    .line 137
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const-string p1, "android.bluetooth.device.extra.DEVICE"

    .line 138
    invoke-virtual {p2, p1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object p1

    check-cast p1, Landroid/bluetooth/BluetoothDevice;

    .line 139
    iget-object p2, p0, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;

    invoke-static {p2}, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;->access$000(Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;)Llt/noframe/gpsfarmguide/widgets/ButtonHelperGps;

    move-result-object p2

    invoke-virtual {p2, p1}, Llt/noframe/gpsfarmguide/widgets/ButtonHelperGps;->addBluetoothDevice(Landroid/bluetooth/BluetoothDevice;)V

    :cond_0
    return-void
.end method
